package net.neptech.listener;

import org.flowable.common.engine.api.delegate.event.FlowableEvent;

public interface EventListenerStrategy {
    /**
     * 策略注册方法
     */
    void afterPropertiesSet(String key);
    /**
     * 处理数据
     */
    void handle(FlowableEvent event);

    void saveStartEventContent(String flowId, String processInstanceId, String activityId, String activityName, String executionId, String tenantId, String parentExecutionId);

    void afterPropertiesSet() throws Exception;
}
